package com.quanyan.platform.model.resp;

import com.quanyan.platform.response.TimeRule;

import java.io.Serializable;
import java.util.List;

/**
 * Created by slong.guo on 2017/3/15.
 */
public class GatherActivityTalentRecommend implements Serializable {
    private static final long serialVersionUID = 165397497007113349L;

    private String AC_talentName = "";
    private Integer AC_talentUid;
    private List<String> AC_talentTags;
    private String AC_talentUrl = "";
    private String AC_talentAddr = "";
    private Integer AC_talentDistance = 0;
    private String AC_talentCaption = "";
    private Long AC_talentTime;
    private Long AC_curTime;
    private Integer AC_talentPerHour;
    private String AC_introduct;
    private String AC_brief;
    private Integer AC_talentGender = 0;
    private List<TimeRule> AC_talentTimeRules;
    private Integer AC_acID = 0;

    public GatherActivityTalentRecommend() {
    }

    public GatherActivityTalentRecommend(RespTalentActivity talentActivity) {
        this.AC_talentName = talentActivity.getUserShowInfo().getNick_name();
        this.AC_talentUid = talentActivity.getUserShowInfo().getUid();
        this.AC_talentUrl = talentActivity.getUserShowInfo().getHead();
        this.AC_talentAddr = talentActivity.getRespBizPlaceBaseInfo().getAddress();
        this.AC_talentDistance = talentActivity.getDistance().intValue();

        this.AC_talentPerHour = talentActivity.getPrice();
        this.AC_talentTime = System.currentTimeMillis();
        this.AC_curTime = System.currentTimeMillis();
        this.AC_brief = talentActivity.getBrief();
        this.AC_talentGender = talentActivity.getUserShowInfo().getGender();
        this.AC_acID = talentActivity.getId();
    }



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getAC_talentName() {
        return AC_talentName;
    }

    public void setAC_talentName(String AC_talentName) {
        this.AC_talentName = AC_talentName;
    }

    public Integer getAC_talentUid() {
        return AC_talentUid;
    }

    public void setAC_talentUid(Integer AC_talentUid) {
        this.AC_talentUid = AC_talentUid;
    }

    public List<String> getAC_talentTags() {
        return AC_talentTags;
    }

    public void setAC_talentTags(List<String> AC_talentTags) {
        this.AC_talentTags = AC_talentTags;
    }

    public String getAC_talentUrl() {
        return AC_talentUrl;
    }

    public void setAC_talentUrl(String AC_talentUrl) {
        this.AC_talentUrl = AC_talentUrl;
    }

    public String getAC_talentAddr() {
        return AC_talentAddr;
    }

    public void setAC_talentAddr(String AC_talentAddr) {
        this.AC_talentAddr = AC_talentAddr;
    }

    public Integer getAC_talentDistance() {
        return AC_talentDistance;
    }

    public void setAC_talentDistance(Integer AC_talentDistance) {
        this.AC_talentDistance = AC_talentDistance;
    }

    public String getAC_talentCaption() {
        return AC_talentCaption;
    }

    public void setAC_talentCaption(String AC_talentCaption) {
        this.AC_talentCaption = AC_talentCaption;
    }

    public Long getAC_talentTime() {
        return AC_talentTime;
    }

    public void setAC_talentTime(Long AC_talentTime) {
        this.AC_talentTime = AC_talentTime;
    }

    public Long getAC_curTime() {
        return AC_curTime;
    }

    public void setAC_curTime(Long AC_curTime) {
        this.AC_curTime = AC_curTime;
    }

    public Integer getAC_talentPerHour() {
        return AC_talentPerHour;
    }

    public void setAC_talentPerHour(Integer AC_talentPerHour) {
        this.AC_talentPerHour = AC_talentPerHour;
    }


    public String getAC_introduct() {
        return AC_introduct;
    }

    public void setAC_introduct(String AC_introduct) {
        this.AC_introduct = AC_introduct;
    }

    public String getAC_brief() {
        return AC_brief;
    }

    public void setAC_brief(String AC_brief) {
        this.AC_brief = AC_brief;
    }

    public Integer getAC_talentGender() {
        return AC_talentGender;
    }

    public void setAC_talentGender(Integer AC_talentGender) {
        this.AC_talentGender = AC_talentGender;
    }

    public List<TimeRule> getAC_talentTimeRules() {
        return AC_talentTimeRules;
    }

    public void setAC_talentTimeRules(List<TimeRule> AC_talentTimeRules) {
        this.AC_talentTimeRules = AC_talentTimeRules;
    }

    public Integer getAC_acID() {
        return AC_acID;
    }

    public void setAC_acID(Integer AC_acID) {
        if (AC_acID != null) {
            this.AC_acID = AC_acID;
        }
    }

    @Override
    public String toString() {
        return "GatherActivityTalentRecommend{" +
                "AC_talentName='" + AC_talentName + '\'' +
                ", AC_talentUid=" + AC_talentUid +
                ", AC_talentTags=" + AC_talentTags +
                ", AC_talentUrl='" + AC_talentUrl + '\'' +
                ", AC_talentAddr='" + AC_talentAddr + '\'' +
                ", AC_talentDistance=" + AC_talentDistance +
                ", AC_talentCaption='" + AC_talentCaption + '\'' +
                ", AC_talentTime=" + AC_talentTime +
                ", AC_curTime=" + AC_curTime +
                ", AC_talentPerHour=" + AC_talentPerHour +
                ", AC_introduct='" + AC_introduct + '\'' +
                ", AC_brief='" + AC_brief + '\'' +
                ", AC_talentGender='" + AC_talentGender + '\'' +
                '}';
    }


}
